added testing for stat manager