add tests for empty and unique ids
first cut at Exit class