tests of exposing port