add test case
refactor extract_symbols to extract some methods which have no arugments