remove unused imports
add test that highlights httplib bug