Add more tests and simple docs for array binding