add test for c'tor