piwik: port tests to new api