Fixed #3. Added tests
Custom error pages tests