added customer ref to orders; more tests for book and rating