Add application_helper_spec.rb and Modify spec tests