Library management tests