fix bug in arm tests