Created test for collisions, and added code to check and return expected behaviour for such