swap code and test steps