Inject datasource instead of global ref
Initial test case