update tests and remove arrayobject