Fix runing tests on ree-1.8.7
Fix runing tests on ree-1.8.7