Removed extra function and failing test.