bug fix on test_builder