Fixed library tests