[WFLY-2558] fix patching test assertion