remove unnecessary code
move sampling test cases to sampling subproject
fix test cases of sampling subproject