state copy duplication fixed
redis set tests
State reorganises correctly!