Bug 842702: Add tests for empty data and label properties and address review comments.