Add basic tests for php, java, python and ruby