Tests with array