move tests outside of packages