Some tests.
Fixed http lib stuff.