Unit tests for grade class.