[#1237] Add tests for repo model
This commit also includes the removal of a good bit of dead code.
Authored by: Rick Copeland 2011-01-06
Parent(s): [61ab61]
Child(ren): [957c4a]