fix value comparison, add tests
list comparisons