indexing profiles and bump AF dependency
added a unit test, AF 5.x