Major fixes to build to detect failures.

- Added preliminary testing README.md
- Updated gitignore
- Fixed broken tests

The manual test is failing on #4 and #5.