Fix LISTVAL command
add test for listval method
fix listval method
remove superfluous initialization
add listval_filter method