test lseek function