test for library