tests for books collection