On invalid parameters to a test, give correct skip output and give it on stdout instead of stderr.
Only plan a number of tests after the database connection has been created
In test_connect, also only plan a number of tests after the database has been created -- but if connection failed, do output a valid test plan with a failed test
Add test runner. All parameters given to it will be given to all tests.
Make test compilation optional. On "make check", compile all tests and run them. with the tests.pl script.