Added test for 0 dirname