Adapt to change in api d8d70ab
Add int tests for AssayQuery