Added a test case for classes with a private default constructor.