test for addUpMeasure, handling zero measures in mapjs