clean up PHP test harness.
add license (MIT).