Fix compatibility with PHP 5.2 in MediaAccess_Test.php and RSA_Test.php