State saving
State tests, correct object copying