add missing tests and add function for post path to url construction
improve tag cloud index file