add few test on api