a library for test