some minor cleanups in the tests for get_by_key and search