`SANITY_CHECK` has a very big overhead for `width` / `height` validation. Use gtest checks directly:

```
EXPECT_EQ(512, source.rows); // width
EXPECT_EQ(480, source.cols); // height
```

Please destroy extra branch after this.