Add test to controller
Fix seed data bug