remove activity from stack
added test for multiple return to previous activity