Removed unnecessary actions in test