BS-11306: Write non-regression integration test