Refactored statement tests.
Refactored array tests. Few tests still fails or needs assertions.