min ratio testcases