Adding tests for widgets caching

WIP
https://github.com/openscholar/openscholar/pull/6205#issuecomment-45434844
Adding `TRUE` as 3rd argument makes it append.