Added tests for Piwik