fix broken ratio tests