PHP wrapper tests

Generic tests… no in-depth analysis