mode tests