Refactored AR tests.