Remove old test function