Function is working, 2 tests passed, 2 failed.