Removed templatedir in config and test file