refactor remote requirements test