Added test.php

Most of the functions are pretty self explanatory, feel free to submit a pull request to add more examples to this. Not high on my priority list. (But I will accept the pull request if somebody does one)