add helper to oa_core simpletest