finished posts controller/model migration and tests