Fixed two Directory tests.