only run for test.