test: fix a mistake
src: add instance method 'setOnes()'
test: add instance method 'setOnes()' testings
readme: add instance method 'setOnes()' api

fix a mistake