Removes foo and bar references from tests.