add footer, update tests