The most famous of these trials took place in March 1845 when Rattler conclusively beat HMS Alecto 1839 2 in a series of races, followed by a tug-of-war contest in which Rattler towed Alecto backwards at a speed of 2 knots .