1) added guice module 2) added mock HttpClient 3) refactored tests
cnange js file