Added tests for array routing