Fix frosted errors in tests