Mock out http requests in test
Move setup test module into test application