Restructured tests into separate files.