Fixed test, added -p to mkdir.