check version and fix tests

- now check for specific migrations
- fix tests in settings