There are no direct tests for the C implementation of atomic operations, since these are extensively tested via the C++ wrappers. See files atomic_tests.h and atomic_tests.cc in folder embb\base_cpp\test.