Fix Oracle.Test build errors, move common base code to TestHelpers