sorted out bad input from eval and added a respective unittest