added tests for mixin