removed limit in reader and fixed unit test on generated catalog