add more api tests