jh - added not_visible? method with tests, upgraded mocha