calling parent constructor in test case