Implement tests for constructors