rem test