credit app unit test.