Unit test to repro PHOENIX-841