code cleanup
make apitest run more than on thread of inserters
update readme for apitest