tests: add test for seek before and seek exact