add test
comment out
move integration
use render as lib