adds more logic and 3 tests for circle webhook examples