fix adding for adc8bit and add in tests