Update rating test to be more flexible with flex tests