Added unit tests for ,  on horseController