Utils: auto-compare for renderer tests