added new Test for ApiContoller