added extensive testing against various output formats and against inputs such as post, get, even multipart and file uploads. testing still needs to be implemented against socket.io