Reorder input parameters
Add TravisCI coverage