test the a of e and r