better unit test