Fixed typo in operator* which was never called before

The non-const version of operator* was missing a ‘*’ and was not caught since it had not been called.
Updated the unit test so it tests all the functions, both const and non-const.
Merge pull request #1387 from Dr15Jones/fixAtomicPtrCache

Multithreaded framework -- Fixed typo in operator* which was never called before