Fixed Inject attribute test case