Add some tests for constructor and properties.