removed localStorage and started adding optional data to the constructor
got router tests working and added server restore to tests