Added spec for escape to close