Hello Allan,
Thank you for your interest to Wazuh.
Those tests designed to check if the hardening recommendations are followed. In order to pass all the tests, you need to apply the recommendation needed.
For every test, you have a comment describing the condition needed to pass the test.
For instance, the first test will check if SSH is listening on a port other than the default port (22 TCP). To pass that first test, you need to change the default port used by SSH service.
The same applies for other tests.
I hope you find this helpful. Please don't hesitate to ask if you have any other question or doubt.