Added tests with collisions