[galaxy-dev] [hg] galaxy 2654: Fix unit tests and clean up code for retrievin...