added conditional statement tests