12 things to do before you buy a franchise