Fix std-uncopyable-atomics test
Add test checking if assigned statics are preserved