unit test modified