added stats tests