MDL-46966 core_grades: adjust behat tests

Part of MDL-46797
MDL-46797 core_grades: adjust behat tests

Part of MDL-46576
MDL-46139 core_grades: adjust behat tests

Part of MDL-46576