integration tests for deactivating an user
fix tests