Create migrations unit test

Now we have code coverage of our db migrations.

Change-Id: I0d20da7391dff50e42fe2661ef8f2fda3998da4c
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>