Atomic Group Unit Tests

Added unit tests for the atomic group structure -- i.e. (?>).