refactor(*): move tests to tests.h create collision.h for collision methods