added timeout expire test, changed config behavior