add testing to automation, checking failure state