Adding some more tests

Please don't merge this yet - just adding it so that my changes are tracked and reviewed, this branch is an attempt at adding a basic test suite to the SDK

Initially I have added signed_request parser tests, but will add more as time goes on.

Once everyone is happy, I'll squash all of this mess into a few discrete commits, rather than the current heap that it is.