Added test cases for bracketPass in arraypass