Add test for safety namespace functions.