Use request lib instead of curl; resolves #2
Update tests