getCandidatesTags now accept staticHtml for running without downloading page from url
Added tests with python unittest