parametize ratio testing