test for positioning of EOF