test if is safe