Reposition test method and override back button