Importing test cases from PHP counterpart