Port tests to the improved library.