Add test case for lazilly adding mixins
Support lazilly adding mixins

[closes #265]