move test scripts to test/. add popcount performance test. add temporary python script for index only.