changed app name for error emails; updated logic test