Fix bug AR, added unit test for Storages