Add SDM Experiment tests and add a base testcase class to do clean up