Liam froze when she hugged him on her own. He had been waiting for this to happen for months and yet when it was happening, he didn't know how to respond.
He was so worried and was thinking the entire day sitting in a cafe wondering how he should break it to her that he took those tests against her wishes. She is already in a bad place, and he feared if she would get worse if she learns that her wishes were not respected.
But his father advised him to take the test. Whether it is good or bad, it would be the best for everyone involved. Especially for the baby.
He never feared the results. His gut instincts told him that Ellie is his child. And there was assurance from Mrs. Delport. She was sure and so was he.
This test... He did it just to confirm his conviction.