Refactor tests directory structure.