fix SwitchStatement coverage
fixes #9: detect return outside of function