fix rake tests
Merge pull request #1141 from code-dot-org/finished

DTD: fix rake tests