port test bug fix

Change-Id: I367e4a8e1306cab1070ae47019064624c6b2e00a