fix strict errors in tests (hopefully) with PHP 5.4+ on WP 3.6+