added missing attributes to Ban
added link validation; improved tests