Error in urlfetcher stub fixed. In post method there were get template argument that caused error. Replaced with post.