Fixed automated tests.