add unit test for radius