added tests for Mti. Updated tests for Measurement. Refactored Mti.