Fix tests for oracle