Fix Biased Provider for PHP 5.3
Improve Biased Provider testcases