add Sort tests
add Where tests