updated tests-- still need more to check happy path