Split getViewportCollisions() test assertions.

The assertions were testing too many things at once, so I broke the
tests into individual assertions.
Rewrote getViewportCollisions() to improve readability.