added PH test file and test cast
closes #1