Actually one more small issue, sorry

The fact that we depend on a global docs in these tests is a mistake, it already exists but trying to fix when we add new tests / edit old ones, so if you could amend this to define the docs in the test itself