[Tests] Add a test for inheriting attributes from label properties