integration test for adding book references