Updated the test to reflect JsonProperty usecase in the constructor