Migrating errors association and moving around some tests.
Migrating some more tests.