added test for the non-partitioned case #982