DM-1456

PR for review of DM-1456 ("finish porting meas_algorithms unit tests").