Added test case for secondary properties
Fix for private constructors