math: bearing - added unit test case