added new test in run_demo