It would be good to move this somewhere under the `test` folder, as in my mind `lib` ought to be reserved for prod code.