Added test for fill function in var.