MODE-1841 - Added a test case which uses a configuration similar to the one described in the issue and stores binary values.

The problem described in the issue cannot be reproduced. This PR contains an integration test which can be used for further reference.