Add new red_green test

also remove some warnings