Modified test_dampen_points function in tests