adds integration test (Iteration H2, Ch. 13)