change be_ture to be(ture) for agent unit test