fix tests on newer guard [fix #296]
Merge pull request #298 from guard/fix_tests_on_newer_guard

fix tests on newer guard [fix #296]