reworked array tests