Added some basic phpt tests.