Revert "Revert "Added test for seek beyond file size""

This reverts commit 34a48f55506f9a468d0ff03c1b5bda4e4a2660ec.
Revert "Added test for seek beyond file size"

This reverts commit c11f3923af2ced369d2535e325651eeaed162e44.