add few test for api plugins