added some JSON database unit tests