tests for migrations (thanks @hodgestar)