added spec controller tests for all api models