Fixed support for skip_info option to ensure raw_info isn't called if skip_info is true, and added a test case