Test: Creating lock file in non existing directory