Removed test counter and changed the parser pointer to a unique pointer in dungeon generator