* fix benchmarking instance with where clause * fmt * add tests * remove unused import * fix tests * doc