nit: maybe extracting this function to the main suite would encourage people to write more tests for this module :)