removing constructor in test cases