Adding more tests to satisfy coverage

Adding mock requirement to test stack.
Using mock library to fake a HTTP connection error.
Ordering requirements in alphabetical order [A-Z].