update

add some tests about config and lifecycle