Fixed set_expires_time() and set_block_time() behavior with reset values.
Tests extended.