wrapperTest finished and debugged