Add a test task

This commit adds a test task so that travis can build and test the
project properly.
Merge pull request #2 from endoze/make-travis-tests-work

Add a test task