Test of library