Fix tests for 5.6.x
Merge pull request #102 from sotty/5.6.x

Fix tests for 5.6.x