Fixed more api controller tests