refactoring, tests for error pages
tests, refactoring, UfoCore::registerError