Adding exceptions for 404 pages when an object cannot be found. first test class.