Checking profiles inheritance