Feature/docs: Upgrading documentation. Adding more tests for query serialisation.