sb32676 unit test. 23 functions, 69 tests