tests for private constructors