Add tests for results pages