Changes to PH test; additional JS parameter; placeholder for alternate tree adaption strategy