unit test comes across problems