added new tests for constructor