Add tests for the machine view header labels.
Merge pull request #327 from huwshimi/header-count-tests

Added missing tests for header labels being updated with the correct machine/container/unit counts.
Unit tests for _smartUpdateList, used in updating machine column.
Unit tests for _renderMachineToken.