Fix bugs with childContext
add test module