fix tests for results page