Added spec for escape method