Add 3.02 logic JavaScript and php test

Signed-off-by: OHTSUKA Ko-hei <kochizufan@gmail.com>