MDL-46139 core_grades: adjust behat tests

Part of MDL-46576