library tests