Updating tests for JSON literals
Adding a missing test and fixing a null check when decoding literals