test sugars inheritance