Fixed automated tests