Fix norefresolve

This PR takes the following of : 
https://github.com/sanpii/behatch-contexts/pull/36

And add tests ;)

I rebased on 2.x branch as I don't take time to check behat 3 !