Added unit tests using the new atom manager system