Should test all three paths. Test when you do get a format, and when you don't, and don't get one from user_data, in addition to what you have.