[PATCH v5] lib: add basic KUnit test for lib/math