Thanks.

While we are at it we should also add test cases for other cases - e.g. if there are some records.