Added F_GETFL/F_SETFL tests