add tests around ar