add unit test case for sr_dataset module, refactoring unit test structure