Switched to SQLLocalDb for tests
Removed useless code on tests.
reformat.
Refactoring on tests.
Added new commandline option "DbName"
Generate script is tolerant regarding migrations that change the current database.
Refined test
Added migrationstablename commandline option
Refined test.