Added additional unit tests for af_index

Fixes #6