fix test for 1.9 and 1.8
Merge pull request #214 from MagLev/tim/fix-204

add tests for #204