Added HttpCache tests and more comments