Moved tests into package.