added tests for the arraytype and callbacktype