Add unit tests for by
Add atom-like class based on libcds