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

Fix tests for 5.6.x