SONARPLUGINS-3453 Add test for return not in function.