improve module configuration
add unit test
test default module configuration