Added an additional door direction test