Major fixes to build to detect failures.

- Added preliminary testing README.md
- Updated gitignore
- Fixed broken tests