[MRG] restructure tests module and expose testdata submodule