added parentheses handling and a test for it to InlineVariable refactoring;
added parentheses handling and a test for it to ExtractVariable refactoring;