added first test. checkConstructor