Added unit tests for log sensitive data