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

Comment on some possible design flaws?
Fixing tests
Fix test (my bad, Cmd+Z played some tricks on me)