adding jsdocs mixin and testing