Remove test.

Also pass makedirs correctly.