fix rendering tests