test: add some unit test tools