test for repeating over object arrays