add command-line testing
add TravisCI automated testing