Removed duplicate "const" specifiers.
Changing mclass_t to int16_t in unit-test.