Setup test for variance function
Add more tests for variance, add context in test file and group tests
Source variance function from file