Remove unused method with test