Added expected value test