test foreman invariant ownership