Make quota scenario test case more generic