bn_div and bn_mod passing unit tests.