fix some small bugs
add a new testing wrapper, and a first test
fixed test system, added new label test