tests: add test for writeHead without arguments