added stats mock to unit tests