Added Collision Detector and Spatial Dictionary tests

Added test for the Collision Detector base class and tests for the Spatial Dictionary's `__repr__` and `__str__` functions.