piwik: port tests to new api
Merge pull request #270 from segmentio/test/piwik

piwik: port tests to new api