working rake task
expanded controller tests
removed debug statement