tests temp dir