Remove defunct code and add a unit test for overlapping robots

Added a unit test for #22