Add panics() for memory tests
Add atomic operations module
Add test for atomic ops