I think the tests could be a bit easier to read if we inlined these