Started adding unit tests
Added travis
Completed tests