Adding (re-adding) *hacked* php test implementation for wrapping up into a CLI