[core] move some class on test