Add negative and zero flag tests for AND operations.