Some functional Tests for issues

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