replace multiple unless remote_test? s with one covering the whole context.