Added more api tests