added some bot detections and tests