Fixed failed unit test