Updates unit test with respect to text align change