Every class should have a test.
P11 API, for example, has a test class. It should test every function available.
Initialize, for example, should be tested when it succeeds or fails throwing some exception.
For now, since there is only one exception, use one error code and its fine.