add tests in PHP format with output check