Updated test_util.py

Edited test script for ensure_dir() function.