fix configdb sample
remove scheduler (obsolete)
add test on JSON API