port string tests