Cache was always invalidated
Prefer is to id()
Avoid testing for internals
Merge pull request #88 from omergertel/master

TestHandler formatted record cache was always invalidated