Test against native implementation, if running on php 5.5+
Additional tests and documentation