New library and test suite