add tests to all get api
fix #431