tests: Add a test to ensure we don't seek twice.