Add simple test and travis
Fix python3 compatibility
Swap
Merge pull request #6 from imom0/travis

Add simple test and travis