test_shared primary window works