Reworked software demo to be self-contained.

- Added the test_dir to .gitignore