migration implemented, and controller tests