test code for issue1 was fixed