added tests for ar