When I only run the following test it works perfectly fine. But when I run all tests within its test class at the same time, it fails because a wrong return value is being g