test when records are empty