Add tests for uptime segment, change days format

Tests for the uptime segment, also change the default formatting of days
to not be limited to 2 digits (my machines often have uptime > 99d).