Tests for dmd.Component