added test message for create invalid dir