Refactored Aix uptime unit tests.