Viewport tests - here's what I have so far.

It should be `viewer.source.dimensions.x` for the width.