Reversed ordering on New() and AddArray(), added more tests.