adding API Tests