test the lib