A test for the strange behavior in get_in_function_call and cache in master. This is fixed in dev, to
close the issue I wrote this test. Unfortunately I wasn't able to shorten the
test. It needs every line, that shows how a rare edge-case this was.