added migrations and changed tests
updated tests