Removes unused test function