Logging, testing

Changed the method of giving feedback to logging instead of printing (it
got messy trying to read the output)
Switched from using mock to implement the tests to using a fake server
that will behave how I want it to