first proper unit test implemented