fix typo
add test for error pages