adding some codes for multinewarray for testing