Added pool server tests. Fixed http server broken architecture