reorder remote backend test environment setup
Merge pull request #1175 from mind04/remote

reorder remote backend test environment setup