integration test for invalid book reference