implemented automated testing using Toast