Tests for object collision
Refactors to pass board into helper functions