stdio-common: Add new test for fdopen