Added test script.
Added Travis tests.