Test token creation failure conditions.