Added test for fill function in var.
Fixed tests and added numpy compare test to norm function.