updating migration scripts
added database migration test
fixed build.
Accidently made h2 dependeny a test only dependency