passing tests for ops on two arrays