added setmethod
fixed and added test for condboolean