Anbangx/test cutoff coverage

@jakebiesinger @JavierJia @Elmira88 @Nan-Zhang 

I just finished the test for the cutoff coverage on big dataset. It works fine now. Have a look at it. 

This PR is based on @jakebiesinger 's Ray-partially-merged-graph branch.