Add tests for rainman post and query routes

Adds tests and sample data for rainman! Also already fixed one issue found by the tests :)