Unit testing SQL upgrade scripts