Promoted object toString unit test