REBSAE tests: silence cppcheck unreadVariable and variableScope warnings