added tests to verify type guessing of dynamic arrays