fixed an issue with hard coded domain_dir causing tests not to pass