start of some database tests. need fixtures
add get_last_record function
return the age and duration in just seconds, not days
implement blocktime auto scaling