Library test fully implemented