added pittest support, mainline example for testing for trap group config, made some of the append methods public again