Changed foucs of test to generate pMixin code
Fixed bug in test
Investigate this