Add config file for travis
Fix spec helper method. Fix typo.