update assertion on tuple
use the assertRaises context manager