Cleanup in wait-free stacks, added unit tests for wait-free stacks.