locals dict added for eval/exec; unit test added for basic function calls