Cleanup of travis setup.

- Now builds correctly on ubuntu.
- Simple test added.
- Cleanup of previously committed commented code.