"Added test for manifest history and manifest refresh"

please review it
thanks
:+1:

By the way, I've noticed that the rest of the code in this module is badly formatted, too. There's an opportunity for a separate pull request, @tkolhar. :wink: