Fix Message.references values in test DB dump.

We save them as lists when syncing, but they were saved as tab-joined strings
in the test database dump. Which is probably why unit tests didn't catch T338.