The limit comparison test