A utility library for test.check