m-index and o-index returns a string instead of an integer in the expected output
Currently, when executing the test for m-index and o-index returns the output in the form of string which should not be the case. The expected output should be in the form of integer like all the metrics functions.