Add test for CanInterface to prevent panics