add unit test for aoi/test