Add test case for #61
Prevent magic widgets shortcuts from being referenced in state assertions

Fixes #61