FORGE-918 Added test to reproduce failure.
FORGE-918 Fix for ignoring extra dimensions of arrays

This ensures that underlying variable fragments having additional dimensions are considered when treating a field as an array type or not.
FORGE-1097 Added a failing test