fixed modal tests.