tests: add tests for tests.sh so we can test the test script