Add tests for the machine view header labels

Added missing tests for header labels being updated with the correct machine/container/unit counts.