Fix TrustedSystem.Refresh()

Made the tests more robust to catch this mistake.  The old tests made
assumptions about the type of last_refreshed, which turned out to be where the
bug was.  (Comparing string to float.  Yay dynamic typing!)