implement js2php --tests