remove unused code in test helper mixin