controller tests for users and posts