Moved tests into separate repex/tests/ directory.