replace test members with moch object