Enhanced CORS plugin UTs and fixed issue with CORS plugin with route matching for returning appropriate HTTP methods.