fix for test with 1.8.7