Fixed the test of nesting from benchmark root.
Updated .gitignore.
Added restoration of previous path.