Add rake based test script for Travis CI.

:warning: NOT READY TO BE MERGED :warning: 

Is a fix for issue #1.