Additionally, add lots of tests for new functionality around statics and `static mut`.
check_static
This is a follow-up patch that moves the mut slice check to the recently added `check_static` Closes #11411