FABRIC-675: rewrite test as an integration test