Added test for temp-dir()