Fixed tests by removing .pid files after kill