CAS-1377: Added integration tests
CAS-1377: Added integration tests