support expr when change error message level (#42)
add test for #42