Fix automated tests
Fix rake