added bench test
add error for checksession