More tests for atomics.
Cosmetic change
Added missing include
Support for atomic_bool.
Added partial specialization for atomic<T*>.