array test for basic types