Add test for regression pointed out in pull request #14

Hi again,

I've added a small test on what I almost broke accidentally with my earlier pull request #14

The temporary context there is certainly needed and this test simply fails if it is not provided.

I decided to add it since the pull request before touches this function yet another time :-)

cheers,
  stesie