forgot to add unit tests on last commit; also changed name of sendHTTPError to sendHTTPResponse because it's more descriptive, especially for 200s