Add tests for 'getDiffText' method