Spec tests

Add spec tests, travis config, lint fix.