Add helper spec and fix one mistake on application helper