Add test utility to make sure  specified directory exists