Rite Aid to test rewards program in four markets