Add test for SPR-11844
Merge pull request #79 from dsyer/SPR-11844

* SPR-11844:
  Add test for SPR-11844