added report output for anr, fixed tests