tests for category assignment written, better errors bug squished
added capybara test for root path, added truncation strat