Fix incorrect flag copy
Use std::copy_n instead of std::fill_n. Also extend tMeasurementSet such that this part of the code is also covered.
Use std::copy_n instead of std::fill_n. Also extend tMeasurementSet such that this part of the code is also covered.