add gadget.xml and test open