restructure tests module and expose testdata submodule