Update api controller Tests