remove extra newline from environment_object_spec