adding basic atomicity tests