Added tests for GoatController