fixed xep0009 boolean
use testify package
update structure