Former Barnsley defender Declan John is on trial at League Two side Swindon Town following his Bolton Wanderers exit.