Added unit tests for P1Atom