replace request with httpify so it works in browser

also adds testling