fix rig_example.mb, implement first unitTest