add mixin, function test file