a unit test to close #58