added MISSING_VALUE flag, added check for flag-coding to reader test