Fixed a bug in the port and statuscode tests. Completed test suite for assertion tests. Port assertion test was actually returning the protocol, embarrassingly enough. And the status code test worked, but failed if the header block was missing - which probably wasn't a problem but I decided to make the code more robust anyway.