make unit test with qunit

Signed-off-by: inabe49 <darwin49@gmail.com>