fixed efficiency related bug
class TestCaseBase, simplified data request