Added tests for SPR-10918.
Merge pull request #56 from BrassyPanache/master

# By Brassy Panache
* pull56:
  Added tests for SPR-10918.