add posts controller tests