fix typos and bug removing from aliases
added tests for http handlers