Add migrations unit test

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