Separate out test commands and add Travis config file