self adaptation of mixture formation jest spyon not working