[Tests] additional assertion for label inheritance test