moved tests and samples to separate modules