started unit testing for alertcounter