Added exception docs
Added termui tests