Tests

Adds a bunch of tests for `lib/*.js`

 - [ ] http input
    - log GET
    - log POST
    - clear DELETE
    - clear GET