Added error pages for the custom error handlers.
Finished adding tests for all the base controller functions.