fixes #2906 - test are broken on 1.8
Merge pull request #3 from mbacovsky/2906_test_on_1.8

fixes #2906 - test are broken on 1.8