Fix update of check variables by setting the trial observations, fix saving of manner of insertion by setting the the removed conditions, fix parseint error by adding a null and empty string check

GCP-9879

Reviewer: Aldrin Batac
Add unit test for updating of trial observations of check variables

GCP-9879

Reviewer: Aldrin Batac