Add test to verify sample mail can clear attributes using clear_prefix.