Restructure the frontend chat tests into separate files

This restructures the frontend chat tests into separate files, as per the suggested structure. More restructures should be done as we start touching the relevant area.