lib: rename testBit to testn

Also wraps data to 80 char
lib: remove unnecessary bit mask