Adds test for array controller