split in two library tests