test entrance exit