Fixing the test for unit