Fix path resolution in plugins
Use less common port in tests