Added test to check flash message for submitting comment when not logged in