DTD: fix rake tests