updated testcases to use oracle class