Test #9220 in libraries/array/tests/T9220
Fix #9220 by adding role annotations.