added test file from theoreticaLee
cleaned up extra tabs and added a comment (credit goes to theoreticaLee)
Merge .phpt file and small cleanup changes from @theoreticaLee