tests and methods for googlebooks gem