Fixed bug when a concatenation is done with a parenthesis.
Added more test cases