fixes for timeline / exhibit counts + expcetion handling

also moving everything into the unit test framework