add test if there is no json