fix tests, move null when empty from BaselineProfileBuilder to BaselineProfilesInputStream