Add a test that verifies that fullMessages and flatten works together