Change the config
add unit test and update lib