I tried to do the unit testing but the tests doesn't pass.