change ping db logic
Merge pull request #219 from auth0/change_ping_db_logic

change ping db logic
fix broken test
Merge pull request #220 from auth0/fix_broken_test

fix broken test
Merge remote-tracking branch 'upstream/master'