Some functional Tests for issues

Still a couple missing.
Remove this `})` too, it's a syntax error.