fixes issue where tests where failing because collection references where point to /Foo and /Bar instead of /Foos and /Bars