fixed a failing test