Add framework to test lib/ and use fakeweb