Update stub.sh
Improve test environment for individual test files
Add tests for __expand_path layout helper
Add tests for __go_to_session layout helper