Add sixth test case, handle gaps in data