Test coverage: add necessary specs to sessions_helper_spec.rb