added goBack()
added a test for goBack()