mousestats: port tests to new api
Merge pull request #285 from segmentio/test/mousestats

mousestats: port tests to new api