Add integration test for self logging grades