Add tests of variability metrics