Unit tests updated
Unit test for class hierarchy precedence added