Corrected all failures, except one

I seriously have no idea, why it gives different outputs from the test
file and the terminal