Fixed unit test for alt tag conversion