Move helper methods into a local scope

Rspec, when run with multiple files, seems to run them in the same namespace/scope.

This means that any local helper methods can potentially override one another.

Move all helper methods into the top level describe..end scope to effectively
localise them.