Removed reference to the container
Updated the test to test the outputHandler
Added the rest of the Endpoints test