update rspec
proper unit tests for migrator