Switched to WP_Mock for testing.