mescc: Add fopen test.