Properly reset the global variable after each test
No need to escape # in Regexp
Ruby interpolation like #@foo and #$foo was not working in html_safe mode

example:
- @foo = 'world'
Hello, #@foo

before: "Hello, ::Helpers.html_escape((foo))"
after:  "Hello, world"