Parser: Check AST in statements test cases

* Fix parser to make them pass
* Fix TypeConstructor signature. While we're at it, replace with
  TypeArray class, as discussed in chat
* reorder test cases by grammar section