Make rake tests work