CHOP-17. Add integration tests.