Add simple test and travis

I tried it will not be passed under python 3.3 because commands module has been removed.