Beginning of extraction + test.rb running extraction