Added small test for paragraph discrimination (and fixed bugs thereby)