completed tests, but solution is failing 1 test for string reduction