Change tests to use a `default_schema` object

- Still a bit crufty, but less crufty than dumping the whole thing each time
Move `get_schema` into a libs/schemas

- first of many glorious schema utils functions m8