added basic test rig, need to implement