moved figure unit_test to submodule