added basic stats fetching method and corresponding test to client