tested reset-box-code functionality