Rails3: scm: mercurial: fix error of ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection in functional test