add test for default constructor