Added tests to cached_result and changed behavior of it too