Namespace Directory Creation

otherwise the lock creation always fails

additional test