Simplified hook tests
Added tests for hook errors
Moved helper mock classes to individual files
Added tests for get requests to return a single item