fixed a bug in the tests because I renamed a function