[#2847] Added a working test case to check if ad-hoc records can be constructed correctly for extracting data from fetchMap() results