MODE-2012 Added test cases

The two test methods do not replicate the reported problem, but they still are useful since they test functionality not previously tested.