TST add testing and travis

Tests by no means complete yet.

Travis fails on 3.x.