basic models controllers tested for api