tests for constructor delegation