Port is valid tests to es6