* stop falling through a missing else + added test * fix min and max on timestamp + tests * address review feedback