Updated structure of tests. Tests are now based around the asynchronous callbacks of client sends.