Fix unit tests, make requirements more flexible, bump major version