test/atomic: add atomic 16/32/64-bit exchanges test