refactor for signifyd api changes and rework tests