fixed grades tests