uint16 comparison and tests
test fix
added subtract(uint16, uint16) implementation