Tests of the multi-spin-coding technique in Monte Carlo simulations of statistical systems