fix free_symbols test