add test for applet