TEST: Fix leaks in json unit tests for FAPI.
TEST: Fix leaks in json unit tests for FAPI.

In test cases where FAPI objects were created for JSON deserialization no cleanup for
the FAPI objects was made.

Signed-off-by: Juergen Repp <03d74050f14a4f4ffcef98e77db067d01b35ed27@sit.fraunhofer.de>

tpm2-software/tpm2-tss,01org/TPM2.0-TSS,01org/tpm2-tss,tpm2-software/tpm2-tss,01org/tpm2-tss,01org/TPM2.0-TSS,tpm2-software/tpm2-tss,01org/TPM2.0-TSS,01org/TPM2.0-TSS,01org/tpm2-tss