add unit test for find_secondary
host functions
#1024
Merged
find_secondary
host functions
#1024