Adds test to ensure application_name is set