Adapted array test to the new interface