chore: Refactor tests into multiple files.