Test added for correct/wrong json validation