re-arrange mock object. empty test_flags by default/