Client side app unit testing and API mock framework