Add skip for metadata management with PHP < 5.4 and add test about read and write.