move extra::test to libtest