now structs starts at null
fix tests so port is unbound when test ends