added grade to test, added test_detail and grading