added tests for extract variable refactoring;
added tests for extract variable refactoring; made extraction scope local to function clause; extract variable now also works with argument definitions;