added test for keyword undefined
renamed methode refactor to extractMethod
renamed methode refactor to extractMethod