All but two functions tested.