testing for expression which have few open/close brackets