Fix mipmap tests