Remove unneeded test function.