modified tests for error page