Fix syntax of a migration
Test for correctness of method to fetch violations by name

Comment on some possible design flaws?
Fixing tests