Added inject test for array