Fixed test and ignore_functions not working