reorganize tests
rename findChain to getChain
rename detectCaptures to getCaptures